package com.kdl.webconfig.vo.config;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 图片配置entity
 * </p>
 *
 * @author wcj
 * @since 2022-09-04
 */
@Data
public class PicConfigVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 资源地址
     */
    private String picUrl;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String comment;

    /**
     * 1 生效 2 隐藏
     */
    private Integer state;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 类型 详见pic type enum
     */
    private String type;

    private Date createTime;

    private Date updateTime;



    @Override
    public String toString() {
        return "PicConfigVO{" +
        "id=" + id +
        ", picUrl=" + picUrl +
        ", title=" + title +
        ", comment=" + comment +
        ", state=" + state +
        ", sort=" + sort +
        ", type=" + type +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
